import request from '@/utils/request'

export function getList(params){
  return request({
    url: `/geren/getList/`+params,
    method: 'get'
  })
}
export function saveOrUpdateMember(params){
  //根据token获取用户信息
  return request({
    url: `/geren/saveOrUpdateMember`,
    method: 'post',
    data: params
  })
}
export function saveOrUpdate(params){
  //根据token获取用户信息
  return request({
    url: `/geren/saveOrUpdate`,
    method: 'post',
    data: params
  })
}

export function updateMember(params){
  //原密码是否正确
  return request({
    url: `/geren/updateMember`,
    method: 'post',
    data: params
  })

}
